<?php
/*
 * FQL Builder
 *
 * http://fql-builder.mariogarcia.biz
 *
 * Copyright (c) 2011 - 2012 Mario Garcia
 *
 * 
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */
 

/**
 * Create a Json Output 
 * 
 * @param $pContent Mixed Value to display in Json Format  
 *
 */  
function json_out($pContent){
  header('Content-type: text/json');
  echo json_encode($pContent);  
}

/**
 * Clean string
 * @param $value String Value to clean 
 */ 
function _trim(&$value)
{
    $value = trim($value);   
}